Skip to content

Fix storage private endpoint names - #157

Open
Andy Jordan (andyleejordan) wants to merge 1 commit into
Azure:mainfrom
andyleejordan:andyleejordan/storage-endpoint-indexing
Open

Andy Jordan (andyleejordan) wants to merge 1 commit into
Azure:mainfrom
andyleejordan:andyleejordan/storage-endpoint-indexing

Conversation

@andyleejordan

Copy link
Copy Markdown

PR Summary

A development build of Bicep from main (6f783fb4a0) exposed an existing storage module bug: endpoint is already 'blob' or 'file', so indexing it with [0] produces BCP076. Use the string directly in both names and cover blob/file private endpoints in the existing test fixture.

Validation: the fixture fails without the fix and compiles with it; Azure PSRule checks pass (431 results). OSS checks report three pre-existing missing license headers, unchanged here.

Relates to Azure/bicep#20552.

PR Checklist

  • PR has a meaningful title
  • Summarized changes
  • Change is not breaking
  • This PR is ready to merge and is not Work in Progress

Drafted by Copilot with GPT-6.1 Sol.

Use the endpoint string directly instead of indexing it. Add blob and
file private endpoint fixtures for the previously untested path.

Drafted by Copilot with GPT-6.1 Sol.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant